package com.real8.romemp.client.ui;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTMLPanel;
import com.google.gwt.user.client.ui.Widget;

public class GameStartViewImpl extends Composite implements GameStartView {

	private static GameStartViewImplUiBinder uiBinder = GWT
			.create(GameStartViewImplUiBinder.class);

	interface GameStartViewImplUiBinder extends
			UiBinder<Widget, GameStartViewImpl> {
	}

	@UiField
	HTMLPanel gameStartPanel;

	public GameStartViewImpl() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	@Override
	public void hideAll() {
		gameStartPanel.setVisible(false);
	}

	@Override
	public void showGameStart() {
		gameStartPanel.setVisible(true);
	}
}
